package com.util;

import cn.hutool.core.util.HexUtil;
import cn.hutool.crypto.symmetric.DES;

public class StringUtil {

    public static boolean isNull(String str){
        return str == null || str.trim().equals("") || str.equals("undefined") || str.equals("null") ;
    }

    public static boolean isNotNull(String str){
        return !isNull(str) ;
    }

    public static void main(String[] args) {
        System.out.println(HexUtil.encodeHex(new DES(HexUtil.decodeHex("7F19AE3990000000")).encrypt(HexUtil.decodeHex("0000000000000000"))));
    }
}
